<?php
/**
 * User zgh
 * Email 1803897171@qq.com
 * Date 2021/8/15
 **/

namespace app\admin\middleware;


use app\common\service\SystemService;

class EndMiddleware
{
    public function handle($request, \Closure $next)
    {
        $response = $next($request);
        if ($request->isAjax()){
//            SystemService::clearCache();
        }
        return $response;
    }
}